home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Linking error with CW8
- Sent: 4/2/96 4:12 AM
- Received: 4/2/96 7:01 AM
- From: Per Henrik Johansen, Per.Henrik.Johansen@ifi.unit.no
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- When I included ExceptionPPC.cp to ODFRuntime I got the below error:
-
- Link Error : multiply-defined ‘__throw’ (descriptor)
- Defined in ExceptionPPC.cp
- Defined in ODFRuntime.lib
- Link Error : multiply-defined ‘__throw’ (code)
- Defined in ExceptionPPC.cp
- Defined in ODFRuntime.lib
-
- So I tried to check around a bit and found out that the function
- __unregister_fragment(fragmentID) is called from the function
- --terminate that is found in Startup.c. the same goes for
- __register_fragment that is called from __start in startup.c.
- Neither __unregister_fragment nor __register_fragment is declared in
- either Startup.c or ExceptionPPC.cp. Where are these functions?
-
-
- >
- > Those are all in the CW8 runtime (ExceptionPPC.cp and Startup.c).
- > Double-check the file list for ODFRuntime.
- >
- > At 6:28 AM 4/1/96, Per Henrik Johansen wrote:
- > >When I try to compile the example files with CW8 (eq ODFButton) I get
- > >the following linker errors:
- > >
- > >Link Error : undefined '__unregister_fragment' (code)
- > >Referenced from '__terminate' in ODFRuntime.lib
- > >Link Error : undefined '__register_fragment' (code)
- > >Referenced from '__initialize' in ODFRuntime.lib
- > >
- > >I have followed the guide "Building ODF with CW8" and can't quite seem
- > >to know how to fix this. Does anyone have any ideas (have I missed something
- > >or what)?
- >
- >
- > --
- > Mark Lanett <mlanett@meer.net>
- > Have a bajillion brilliant Jobsian lithium licks
- >
- >
- >
-
-
- --
- Per Henrik Johansen
- perhj@ifi.unit.no
-